package com.itheima.day01.ZuoYe.ZuoYe3_4;

public class FamilyCar extends Car{
    private String familyName;
    public FamilyCar(){}

    public FamilyCar(String familyName){}

    public FamilyCar(String tape, String carNumber, String familyName) {
        super(tape, carNumber);
        this.familyName = familyName;
    }

    public String getFamilyName() {
        return familyName;
    }

    public void setFamilyName(String familyName) {
        this.familyName = familyName;
    }
}
